package com.lsx.logisticscore.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * @Author: Liang
 * @Date: 2021/12/25
 * @Description:
 */
@Data
@TableName("resource")
public class Resource {
    private Integer resourceId;
    private String name;
    private String role;
    private String path;
    private String redirect;
    @TableField(select = false)
    private List<Resource> children;
    private Resource parent;
    private String title;
    private String icon;
    private boolean isHidden;

}
